package com.garry.common.config;

/**
 * Created by GarryGe on 2016/12/4.
 */
public class ResultCode {
    public static int SUCCESS=200;//成功
    public static int CREATED=201;//已创建
    public static int ACCEPTED=202;//已接受
    public static int NO_NAUTHORIATIVE=203;//未授权信息
    public static int NO_CONTENT=204;
    public static int RESET_CONTENT=205;
    public static int PARTIAL_CONTENT=206;

    public static int MULTIPLE_CHOICES=300;
    public static int MOVED_PERMANENTLY=301;
    public static int MOVE_TEMPORARILY=302;
    public static int SEE_OTHER=303;
    public static int NOT_MODIFIED=304;
    public static int USE_PROXY=305;
    public static int SWITCH_POXY=306;
    public static int TEMPORARY_REDIRECT=307;

    public static int ERROR=400;//
    public static int UNAUTHORIZED=401;
    public static int FORBIDDEN=403;
    public static int NOT_FOUND=404;
    public static int METHOD_NOT_ALLOWED=405;
    public static int NOT_ACCEPTED=406;

    public static int INTERNAL_SERVER_ERROR=500;
    public static int NOT_IMPLEMENTED=501;
    public static int BAD_GATEWAY=502;
    public static int SERVICE_UNAVAILABLE=503;
    public static int GATEWAY_TIMEOUT=504;
}
